@echo off
REM 解决中文输出乱码问题
chcp 65001
echo "=============================================拉取微信镜像"

echo sudo docker pull dannicool/docker-wechatbot-webhook
echo "=============================================启动微信机器人"
echo docker run -d \
echo --name wxBotWebhook \
echo -p 3001:3001 \
echo -e LOGIN_API_TOKEN="techshrimp" \
echo dannicool/docker-wechatbot-webhook

echo "=============================================发送消息post"
echo curl --location 'http://localhost:3001/webhook/msg' \
echo --header 'Content-Type: application/json' \
echo --data '{
echo     "to": "椒盐爬爬虾",
echo     "type": "text",
echo     "content": "你好 我是小助理"
echo }

echo "=============================================接收消息get"
echo sudo docker run -d \
echo --name wxBotWebhook \
echo -p 3001:3001 \
echo -e LOGIN_API_TOKEN="techshrimp" \
echo -e RECVD_MSG_API="http://localhost:8080/receive_msg" \
echo dannicool/docker-wechatbot-webhook
pause